package com.study.seckill.web.api;

import com.study.seckill.service.CourseSeckillOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName: CourseSeckillOrderController
 * @Author: wYin
 * @Date: 2022/3/10 14:46
 */
@RestController("apiCourseSeckillOrder")
@RequestMapping("/api/courseSeckillOrder")
public class CourseSeckillOrderController {
    @Autowired
    private CourseSeckillOrderService courseSeckillOrderService;

    @GetMapping("/test")
    public String test(){
        courseSeckillOrderService.test();
        return "ok";
    }
}
